{% extends 'base.html' %}

{% block content %}
<title>
    搜索 - 畅聊
</title>

<script>
	function join() {
		location.href = '/join_group/' + document.getElementById('search').value;
	}

</script>

<br/>
群聊ID:
<input id="search"/>
<button onclick="join()">加入</button>
{% endblock content %}
